package com.indusfo.spc.mapper;

import com.indusfo.spc.pojo.WarehouseMaterial;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface WarehouseMaterialMapper {

    int insertSelective(WarehouseMaterial record);

    int updateByPrimaryKeySelective(WarehouseMaterial record);

    List<WarehouseMaterial> selectWarehouseMaterial(WarehouseMaterial warehouseMaterial);

    int countWarehouseMaterial(WarehouseMaterial warehouseMaterial);

    int definesWarehouseMaterial(@Param("warehouseMaterialIds") Long[] warehouseMaterialIds,@Param("dataState")Integer dataState);

    Integer queryWarehouseMaterial(WarehouseMaterial warehouseMaterial);
}